import React from 'react'
import {Suspense} from "react"
import {useRoutes} from "react-router-dom"
import routerconfig from '../router'
function App() {
  return (
   <Suspense fallback={<div>...loading</div>}>
       {
           useRoutes(routerconfig)
       }
   </Suspense>
  )
}

export default App